package net.muliba.clicklockscreen

import android.app.admin.DeviceAdminReceiver
import android.content.Context
import android.content.Intent
import android.util.Log

/**
 * Created by fancyLou on 2017/12/19.
 * Copyright © 2017 O2. All rights reserved.
 */

class LockReceiver : DeviceAdminReceiver() {

    private val TAG = LockReceiver::class.java.simpleName
    override fun onReceive(context: Context?, intent: Intent?) {
        Log.i(TAG, "接收")
        super.onReceive(context, intent)
    }

    override fun onEnabled(context: Context?, intent: Intent?) {
        Log.i(TAG, "激活")
        super.onEnabled(context, intent)
    }

    override fun onDisabled(context: Context?, intent: Intent?) {
        Log.i(TAG, "禁用")
        super.onDisabled(context, intent)
    }
}